//
//  LBPageViewController.m
//  loveBeen
//
//  Created by 韩天助 on 11/24/16.
//  Copyright © 2016 loveBeen. All rights reserved.
//

#import "LBPageViewController.h"
#import "LBSuperMarketDetailsVC.h"
#import "LBSuperMarketProducts.h"

@interface LBPageViewController ()

@end

@implementation LBPageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [self setUpUI];
}

#pragma mark - 1.set
- (void)setUpUI{
    UIPageViewController *pageVC = [[UIPageViewController alloc]initWithTransitionStyle:UIPageViewControllerTransitionStylePageCurl navigationOrientation:UIPageViewControllerNavigationOrientationHorizontal options:nil];
    
//    [pageVC setViewControllers:@[[self creatDetailsVC:_selectIndexPath]] direction:UIPageViewControllerNavigationDirectionForward animated:NO completion:nil];
    
//    pageVC.dataSource = self;
//    pageVC.delegate = self;
    
    [self cz_addChildController:pageVC intoView:self.view];
    
    self.view.backgroundColor = [UIColor greenColor];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
